package com.dodoke.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseEntity {
    private String delFlag;                 // 是否删除0:否,1:是
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private LocalDateTime createDate;       // 创建时间
    private String createBy;                // 创建人
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private LocalDateTime updateDate;       // 最近一次修改时间
    private String updateBy;                // 修改人
}
